import request from '@/router/axios';
const urlPrefix = '/admin';

export function list(data) {
    return request.post(urlPrefix + '/banner-info/list', data);
}
export function create(data) {
    return request.post(urlPrefix + '/banner-info/create', data);
}
export function update(data) {
    return request.post(urlPrefix + '/banner-info/update', data);
}
export function removeById(id) {
    return request.post(urlPrefix + '/banner-info/remove-by-id', {
        id
    });
}
export function removeByIds(ids) {
    return request.post(urlPrefix + '/banner-info/remove-by-ids', {
        ids
    });
}
export function detail(id) {
    return request.get(urlPrefix + '/banner-info/detail', {
        id
    });
}
